{% extends "email/base.html" %}

{% load i18n %}
{% load humanize %}

{% block content %}
<tr>
  <td align="center">
    <h1>
      {% blocktrans with username=user.username %}
      Hi {{ username }},
      {% endblocktrans %}
    </h1>
  </td>
</tr>
<tr>
  <td align="center">
    <table border="0">
      <tr>
        <td align="center" style="max-width: 300px; padding: 20px 0; color: #212124;">
          {% blocktrans %}
          Email MFA code.
          {% endblocktrans %}
        </td>
      </tr>
      <tr>
        <td align="center" class="btn btn-primary">
          {{ token }}
        </td>
      </tr>
    </table>
  </td>
</tr>
{% endblock %}

{% block sub_content %}
<tr>
  <td style="padding: 20px; font-size: 12px; color: #212124;" align="center">
    {% blocktrans with expires=expires|timeuntil %}
    If you did not request this code, please ignore this email. The code above is valid for {{ expires }}.
    {% endblocktrans %}
  </td>
</tr>
{% endblock %}
